#include <windows.h>
#include "CWeatherPacket.h"
#include "structs.h"

//Sends a weather update starting at the gameTime
CWeatherPacket::CWeatherPacket(struct weather updateWeather) {
	memset(this->data, 0, 0x06*2);
	this->type = 0x57;
	this->size = 0x06;
	
	memcpy(&this->data[0x04-0x04],&updateWeather, sizeof(weather));
}

CWeatherPacket::~CWeatherPacket() {

}
